    <table class="cList" width="99%" cellspacing="1" cellpadding="2" >
    <tr>
		<td width="10%" class="cFirst2">编号</td>
		<td width="10%" class="cFirst2">子分类名称</td>
		<td width="10%" class="cFirst2">是否显示</td>
		<td width="10%" class="cFirst2">排序</td>
		<td width="30%" class="cFirst2">操作</td>
    </tr>
	<?php if($subcate):?>
	<?php foreach($subcate as $cate):?>
	<tr>
		<td class="cSecond"><?php echo $cate->getId();?></td>
		<td class="cSecond"><?php echo $cate->getTitle();?></td>
		<td class="cSecond"><?php echo $cate->getIson()?'是':'否';?></td>
		<td class="cSecond"><?php echo $cate->getOrders();?></td>
		<td class="cSecond">
		<?php echo link_to1('编辑','category/edit?id='.$cate->getId());?> |
		<a href="<?php echo url_for('category/delete?id='.$cate->getId());?>" onclick="return confirm('删除分类会删除类下所有产品。\n您确定吗删除？');">删除</a> |
		<?php echo link_to1('转移商品','category/change?id='.$cate->getId());?>
    </tr>
	<?php endforeach;?>
	<?php else:?>
	<tr>
		<td colspan="5" class="error">
		暂无分类，请<?php echo link_to1('添加','category/create?fid='.$id);?>
		</td>
    </tr>
	<?php endif;?>
    </table>